package com.f37.f37git001.controller;

import com.f37.f37git001.bean.Worker;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LQWQK
 * @version 1.0
 * @since 2023-12-27 16:50:17
 */
@RestController
public class WorkerController {
    @GetMapping("/worker")
    public Worker worker(){
        Worker worker = new Worker();
        worker.setWid("101");
        worker.setWname("啊强");
        worker.setSex("女");
        worker.setAge(23);
        worker.setAddress("济南");
        // 注释123456
        return worker;
    }
}
